﻿@{
    ViewBag.Title = "ModuleIndex";
}

<fieldset>

     <p align="right">
        @Html.ActionLink("<< Regresar", "Index")
    </p>

    <legend>Administración de Módulos</legend>
    <h1>@User.Identity.Name</h1>

    @{
        
    projectManagementWeb.Controllers.DeveloperController controlLayer = new projectManagementWeb.Controllers.DeveloperController();
    projectManagementWeb.Models.Developer.UserDataModel userData = controlLayer.GetUserData(@User.Identity.Name);
    <h2>@userData.UserCompleteName</h2>
    <h2>@userData.UserMail</h2>
        projectManagementWeb.Controllers.ProjectLeaderController plControlLayer = new projectManagementWeb.Controllers.ProjectLeaderController();    
    <h2>Proyecto: @plControlLayer.GetUserProject(User.Identity.Name)</h2>
        
    
   }

   <div>
    @Html.ActionLink("Crear Módulo", "createModule")
    <br />
    @Html.ActionLink("Modificar Módulo", "modifyModule")
    <br />
    @Html.ActionLink("Eliminar Módulo", "deleteModule")
    <br />
</div>

</fieldset>
